// PotatoSoft.ImageProcessing.h

#pragma once

#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <stdio.h>
#include "PotatoSoft.ImageProcessingExceptions.h"
using namespace System;
namespace PotatoSoft
{
	namespace ImageProcessing
	{
		public ref class ImageProcessing
		{
		public:
			static void cvHist_8u(
				array<byte> ^arrays,   
				array<byte> ^ % hist, 
				float rangeLow,
				float rangeHigh,
				int hbins,
				int width,
				int height,
				int wdStep,
				array<byte> ^mask);
			static void cvLoad_8u(String ^fname,array<byte> ^%data,int % width, int % height,int % wdStep);
			static void cvSave_8u(String ^fname,array<byte> ^data,int width, int height, int wdStep);
			static float cvMean_8u(array<byte> ^data,int width, int height, int wdStep);
			static float cvStdDev_8u(array<byte> ^data,int width, int height, int wdStep);
		};
	}
}
